package order.view;

import java.awt.BorderLayout;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;

import order.ordertop.view.OrderTopView;

public class MainOrderView extends JFrame {

	private JPanel contentPane;

	public MainOrderView() {
		initComponents();
	}

	private void initComponents() {
		setSize(1000, 400);
		setDefaultCloseOperation(HIDE_ON_CLOSE);
		setLocationRelativeTo(null);// set frame location to center on screen
		
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		contentPane.setLayout(new BorderLayout(0, 0));
		setContentPane(contentPane);
		OrderTopView orderTopView = new OrderTopView();
		contentPane.add(orderTopView);
		orderTopView.setVisible(true);
	}


}
